home *** CD-ROM | disk | FTP | other *** search
/ Champak 122 / Vol 122.iso / games / gem_stri.swf / scripts / __Packages / mx / rpc / DefaultResponder.as next >
Encoding:
Text File  |  2011-01-06  |  6.2 KB  |  239 lines

  1. var ┬º\x01┬º = 360;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 360)
  5.    {
  6.       set("\x01",eval("\x01") + 159);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else
  10.    {
  11.       if(eval("\x01") != 519)
  12.       {
  13.          break;
  14.       }
  15.       set("\x01",eval("\x01") + 467);
  16.       if(┬º┬ºpop())
  17.       {
  18.          set("\x01",eval("\x01") - 160);
  19.       }
  20.    }
  21. }
  22. if(eval("\x01") == 986)
  23. {
  24.    set("\x01",eval("\x01") - 160);
  25.    set(┬º┬ºpop(),eval(┬º┬ºpop()) + 543);
  26.    if(!_global.mx)
  27.    {
  28.       _global.mx = new Object();
  29.    }
  30.    ┬º┬ºpop();
  31.    if(!_global.mx.data)
  32.    {
  33.       _global.mx.data = new Object();
  34.    }
  35.    ┬º┬ºpop();
  36.    if(!_global.mx.data.binding)
  37.    {
  38.       _global.mx.data.binding = new Object();
  39.    }
  40.    ┬º┬ºpop();
  41.    if(!_global.mx.data.binding.ObjectDumper)
  42.    {
  43.       var _loc2_ = mx.data.binding.ObjectDumper = function()
  44.       {
  45.          this.inProgress = new Array();
  46.       }.prototype;
  47.       mx.data.binding.ObjectDumper = function()
  48.       {
  49.          this.inProgress = new Array();
  50.       }.toString = function(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent)
  51.       {
  52.          var _loc1_ = indent;
  53.          var _loc2_ = maxLineLength;
  54.          var _loc3_ = new mx.data.binding.ObjectDumper();
  55.          if(_loc2_ == undefined)
  56.          {
  57.             _loc2_ = 100;
  58.          }
  59.          if(_loc1_ == undefined)
  60.          {
  61.             _loc1_ = 0;
  62.          }
  63.          return _loc3_.realToString(obj,showFunctions,showUndefined,showXMLstructures,_loc2_,_loc1_);
  64.       };
  65.       _loc2_.realToString = function(obj, showFunctions, showUndefined, showXMLstructures, maxLineLength, indent)
  66.       {
  67.          var _loc1_ = obj;
  68.          var x = 0;
  69.          while(x < this.inProgress.length)
  70.          {
  71.             if(this.inProgress[x] == _loc1_)
  72.             {
  73.                return "***";
  74.             }
  75.             x++;
  76.          }
  77.          this.inProgress.push(_loc1_);
  78.          indent++;
  79.          var t = typeof _loc1_;
  80.          var result;
  81.          if(_loc1_ instanceof XMLNode && showXMLstructures != true)
  82.          {
  83.             result = _loc1_.toString();
  84.          }
  85.          else if(_loc1_ instanceof Date)
  86.          {
  87.             result = _loc1_.toString();
  88.          }
  89.          else if(t == "object")
  90.          {
  91.             var _loc3_ = new Array();
  92.             if(_loc1_ instanceof Array)
  93.             {
  94.                result = "[";
  95.                var i = 0;
  96.                while(i < _loc1_.length)
  97.                {
  98.                   _loc3_.push(i);
  99.                   i++;
  100.                }
  101.             }
  102.             else
  103.             {
  104.                result = "{";
  105.                for(var i in _loc1_)
  106.                {
  107.                   _loc3_.push(i);
  108.                }
  109.                _loc3_.sort();
  110.             }
  111.             var sep = "";
  112.             var _loc2_ = 0;
  113.             while(_loc2_ < _loc3_.length)
  114.             {
  115.                var val = _loc1_[_loc3_[_loc2_]];
  116.                var show = true;
  117.                if(typeof val == "function")
  118.                {
  119.                   show = showFunctions == true;
  120.                }
  121.                if(typeof val == "undefined")
  122.                {
  123.                   show = showUndefined == true;
  124.                }
  125.                if(show)
  126.                {
  127.                   result += sep;
  128.                   if(!(_loc1_ instanceof Array))
  129.                   {
  130.                      result += _loc3_[_loc2_] + ": ";
  131.                   }
  132.                   result += this.realToString(val,showFunctions,showUndefined,showXMLstructures,maxLineLength,indent);
  133.                   sep = ", `";
  134.                }
  135.                _loc2_ = _loc2_ + 1;
  136.             }
  137.             if(_loc1_ instanceof Array)
  138.             {
  139.                result += "]";
  140.             }
  141.             else
  142.             {
  143.                result += "}";
  144.             }
  145.          }
  146.          else if(t == "function")
  147.          {
  148.             result = "function";
  149.          }
  150.          else if(t == "string")
  151.          {
  152.             result = "\"" + _loc1_ + "\"";
  153.          }
  154.          else
  155.          {
  156.             result = String(_loc1_);
  157.          }
  158.          if(result == "undefined")
  159.          {
  160.             result = "-";
  161.          }
  162.          this.inProgress.pop();
  163.          return mx.data.binding.ObjectDumper.replaceAll(result,"`",result.length >= maxLineLength ? "\n" + this.doIndent(indent) : "");
  164.       };
  165.       mx.data.binding.ObjectDumper = function()
  166.       {
  167.          this.inProgress = new Array();
  168.       }.replaceAll = function(str, from, to)
  169.       {
  170.          var _loc3_ = str.split(from);
  171.          var result = "";
  172.          var _loc2_ = "";
  173.          var _loc1_ = 0;
  174.          while(_loc1_ < _loc3_.length)
  175.          {
  176.             result += _loc2_ + _loc3_[_loc1_];
  177.             _loc2_ = to;
  178.             _loc1_ = _loc1_ + 1;
  179.          }
  180.          return result;
  181.       };
  182.       _loc2_.doIndent = function(indent)
  183.       {
  184.          var _loc3_ = indent;
  185.          var _loc2_ = "";
  186.          var _loc1_ = 0;
  187.          while(_loc1_ < _loc3_)
  188.          {
  189.             _loc2_ += "     ";
  190.             _loc1_ = _loc1_ + 1;
  191.          }
  192.          return _loc2_;
  193.       };
  194.       ┬º┬ºpush(ASSetPropFlags(mx.data.binding.ObjectDumper.prototype,null,1));
  195.    }
  196.    ┬º┬ºpop();
  197. }
  198. else if(eval("\x01") == 826)
  199. {
  200.    set("\x01",eval("\x01") - 311);
  201.    if(!_global.mx)
  202.    {
  203.       _global.mx = new Object();
  204.    }
  205.    ┬º┬ºpop();
  206.    if(!_global.mx.rpc)
  207.    {
  208.       _global.mx.rpc = new Object();
  209.    }
  210.    ┬º┬ºpop();
  211.    if(!_global.mx.rpc.DefaultResponder)
  212.    {
  213.       _loc2_ = mx.rpc.DefaultResponder = function(t)
  214.       {
  215.          this.target = t;
  216.       }.prototype;
  217.       _loc2_.__get__target = function()
  218.       {
  219.          return this.__target;
  220.       };
  221.       _loc2_.__set__target = function(t)
  222.       {
  223.          this.__target = t;
  224.          return this.target;
  225.       };
  226.       _loc2_.onResult = function(event)
  227.       {
  228.          trace("RPC Result: " + event.result);
  229.       };
  230.       _loc2_.onFault = function(event)
  231.       {
  232.          trace("RPC Fault: " + event.fault.faultstring);
  233.       };
  234.       ┬º┬ºpush(_loc2_.addProperty("target",_loc2_.__get__target,_loc2_.__set__target));
  235.       ┬º┬ºpush(ASSetPropFlags(mx.rpc.DefaultResponder.prototype,null,1));
  236.    }
  237.    ┬º┬ºpop();
  238. }
  239.